package CreationMode.methodFactory.coffee;

public class FactoryKFC implements Factory{

    @Override
    public Coffee createLatteCoffee() {
        System.out.println("肯德基工厂制作咖啡");
        return new CoffeeLatte();
    }

    @Override
    public Coffee createAmericanoCoff() {
        System.out.println("肯德基工厂制作咖啡");
        return new CoffeeAmericano();
    }
}
